QT      += core gui network sql qml quick concurrent  widgets  xml  webenginewidgets webview
greaterThan(QT_MAJOR_VERSION,5):QT += core5compat
CONFIG  += c++2a plugin
DESTDIR = ../../../../../dist/plugins
TARGET  = sailmipim_plugin_docview_fxb
TEMPLATE = lib

DEFINES +=_HAS_DEPRECATED_RESULT_OF

INCLUDEPATH += ../../utils/docview_util             \
               ../../../../interfaces                \
               ../../../../util/sailmipim_util_core          \
               ../../../../util/sailmipim_util_xpc          \
               ../../../../util/sailmipim_util_sys          \
               ../../../../util/sailmipim_util_sll          \
               ../../../../util/sailmipim_util_network      \
               ../../../../util/sailmipim_util_db           \
               ../../../../util/sailmipim_util_gui          \
               ../../../../xsd                       \
               ../../interfaces


LIBS += -L../../../../../dist         \
        -L../../../../../dist/plugins \
        -lsailmipim_util_core               \
        -lsailmipim_util_xpc               \
        -lsailmipim_util_gui               \
        -lsailmipim_util_sys               \
        -lsailmipim_util_sll               \
        -lsailmipim_util_network           \
        -lsailmipim_util_db                \
        -lsailmipim_xsd                    \
        -lsailmipim_docview_util


DISTFILES += \
    docviewfxbsettings.xml \
    freedesktop/leechcraft-docview-fxb-qt5.desktop \
    sailmipim_docview_fxb_en.ts

HEADERS += \
    document.h \
    fb2converter.h \
    fxb.h \
    toclink.h \
    xmlsettingsmanager.h

SOURCES += \
    document.cpp \
    fb2converter.cpp \
    fxb.cpp \
    toclink.cpp \
    xmlsettingsmanager.cpp

